import { create } from 'zustand'

export const useValidationStore = create((set) => ({
  errors: {},
  setErrors: (errors) => set((state) => ({ errors: { ...state.errors, ...errors } })),
}))
